﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class Grades:BaseEntity
    {
        [Required(ErrorMessage = "{0}不能为空")]
        [StringLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Display(Name = "班级名称")]
        public string Title { get; set; }
    }
}
